//
//  WDMaterialCell.h
//  Zhihuijinfu
//
//  Created by 王笛 on 2016/12/27.
//  Copyright © 2016年 王笛. All rights reserved.
//

#import <UIKit/UIKit.h>
@class WDPDLeftBottom;
@class WDPDBottom;
@class WDProductDetail;

@protocol WDMaterialCellDelegate;

@interface WDMaterialCell : UITableViewCell
/** 左边固定数据 */
@property (nonatomic, strong) WDPDLeftBottom *leftBottom;
/** 右边值 */
@property (nonatomic, strong) WDPDBottom *bottom;
/** collectionCell的数据 */
@property (nonatomic, strong) WDProductDetail *productDetail;
/** 代理 */
@property(nonatomic, weak) id<WDMaterialCellDelegate> delegate;
@property (nonatomic, strong) NSIndexPath *indexPath;

+ (instancetype)materialCellWithTableView:(UITableView *)tablView;

@end

@protocol WDMaterialCellDelegate <NSObject>

- (void)materialCell:(WDMaterialCell *)materialCell ShowOriginalImages:(NSArray *)originalImages index:(NSInteger)index;

@end
